#include<stdio.h>

int main()
{
	int num = 0, i = 0;
	printf("input a number that any bits:\n");
	scanf("%d",&num);
	
	

	/*
	for(i = 0; i < 5;i++)
	{
		printf("%d ",num % 10);
		num /= 10;
	}*/
	
	for(;num > 0;num /= 10){
		printf("%d ",num % 10);
	}

	return 0;
}
